package com.geekgo.gges.repository;

import com.geekgo.gges.model.City;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2018/4/28.
 */
@Repository
public interface CityRepository extends ElasticsearchRepository<City,Long>{
    List<City> findByName(String name);
}
